package br.com.massai.model.dao;

import java.util.List;

import javax.ejb.Local;

import br.com.massai.model.entity.Function;
import br.com.massai.model.entity.Module;
import br.com.massai.model.exceptions.SystemException;
import br.com.massai.view.enums.Functionality;

@Local
public interface FunctionRepository extends GenericRepository<Function> {
	
	public Function getFunctionByAcronym(String acronym) throws SystemException;
	public List<Function> findAllOrdered() throws SystemException;
	public List<Function> findOrderedByFunctionality(Functionality functionality) throws SystemException;
	public List<Function> findByModule(Module module) throws SystemException;

}
